package model.command;
import controller.KeyListeners.KeyListenerSet;
/**
 *
 * @author joseph
 */
public class CreateExplorer extends Create {
    CreateExplorerable factory;
    public CreateExplorer(CreateExplorerable factory){
        super();
        setFactory(factory);
    }
    @Override
    public CreateExplorer clone() {
        return new CreateExplorer(factory);
    }
    @Override
    public void executeCommand() {
        factory.createExplorer();
    }
    private void setFactory(CreateExplorerable factory){
        this.factory = factory;
    }
    @Override
    public String toString(){
        return "Create Explorer";
    }
}
